package com.aruba.socketlibrary.protocol.handle;

import android.support.annotation.Nullable;

import com.aruba.socketlibrary.protocol.SendManager.SendResponse;
import com.aruba.socketlibrary.protocol.SocketHelper;


/**
 * Created by aruba on 2017/10/20.
 * 代理接口
 */

public interface IDataHandleDelegate {
    void dataAnalysis(byte nCommand, @Nullable byte nSecondCommand, byte[] realData);

    void setSerialHelper(SocketHelper mSocketHelper);

    boolean send(SendResponse sendResponse);

    void stop();
    
    void sendHeart();
}
